home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / EGAME.DIR / 00002_Script_2 next >
Text File  |  1995-09-06  |  792b  |  26 lines

  1. global gNewGameWorld,oGameControl,gGameBtn7,gGameBtn8,gBtn17,gBtn18,gReInitGlobals
  2.  
  3. on startmovie
  4.   set gNewGameWorld=""
  5.   if not(objectp(oGameControl)) then
  6.     set oGameControl=birth(script"GameControlClass")
  7.   end if
  8.   makecrossbuttons oGameControl --APN 7/24
  9.   set vButCast=the number of cast "KillGIP Normal"
  10.   set gGameBtn7 = birth(script "a9StateButton", 40, vButCast, 0, "KillGIP", "HandCursor", "",0)
  11.   set vButCast=the number of cast "GoGIP Normal"
  12.   set gGameBtn8 = birth(script "a9StateButton", 41, vButCast, 0, "GoGIP", "HandCursor", "",0)
  13. end startmovie
  14.  
  15. on stopmovie
  16.   set gReInitGlobals = 1
  17.   if objectp(gbtn17) then
  18.     hidecontrol(gBtn17)
  19.     set gBtn17 = 0
  20.   end if
  21.   if objectP(gBtn18) then
  22.     hidecontrol(gBtn18)
  23.     set gBtn18 = 0
  24.   end if
  25. end
  26.